﻿//namespace RuoVea.CodeGen.Server.Models;

///// <summary>
///// 代码生成字段配置表
///// </summary>
//[SugarTable(null, "代码生成字段配置表")]
//public partial class SysCodeGenConfig : EntityBase
//{
//    /// <summary>
//    /// 代码生成主表Id
//    /// </summary>
//    [SugarColumn(Description = "主表Id")]
//    public long CodeGenId { get; set; }

//    /// <summary>
//    /// 数据库字段名
//    /// </summary>
//    [SugarColumn(Description = "字段名称", Length = 128)]
//    [Required, MaxLength(128)]
//    public virtual string ColumnName { get; set; }

//    /// <summary>
//    /// 主键
//    /// </summary>
//    [SugarColumn(Description = "主键", Length = 8)]
//    [MaxLength(8)]
//    public string? ColumnKey { get; set; }

//    /// <summary>
//    /// 实体属性名
//    /// </summary>
//    [SugarColumn(Description = "属性名称", Length = 128)]
//    [Required, MaxLength(128)]
//    public virtual string PropertyName { get; set; }

//    /// <summary>
//    /// 字段数据长度
//    /// </summary>
//    [SugarColumn(Description = "字段数据长度", DefaultValue = "0")]
//    public int ColumnLength { get; set; }

//    /// <summary>
//    /// 字段描述
//    /// </summary>
//    [SugarColumn(Description = "字段描述", Length = 128)]
//    [MaxLength(128)]
//    public string? ColumnComment { get; set; }

//    /// <summary>
//    /// 数据库中类型（物理类型）
//    /// </summary>
//    [SugarColumn(Description = "数据库中类型", Length = 64)]
//    [MaxLength(64)]
//    public string? DataType { get; set; }

//    /// <summary>
//    /// .NET数据类型
//    /// </summary>
//    [SugarColumn(Description = "NET数据类型", Length = 64)]
//    [MaxLength(64)]
//    public string? NetType { get; set; }

//    /// <summary>
//    /// 作用类型（字典）
//    /// </summary>
//    [SugarColumn(Description = "作用类型", Length = 64)]
//    [MaxLength(64)]
//    public string? EffectType { get; set; }

//    /// <summary>
//    /// 外键库标识
//    /// </summary>
//    [SugarColumn(Description = "外键库标识", Length = 20)]
//    [MaxLength(20)]
//    public string? FkConfigId { get; set; }

//    /// <summary>
//    /// 外键实体名称
//    /// </summary>
//    [SugarColumn(Description = "外键实体名称", Length = 64)]
//    [MaxLength(64)]
//    public string? FkEntityName { get; set; }

//    /// <summary>
//    /// 外键表名称
//    /// </summary>
//    [SugarColumn(Description = "外键表名称", Length = 128)]
//    [MaxLength(128)]
//    public string? FkTableName { get; set; }

//    /// <summary>
//    /// 外键显示字段
//    /// </summary>
//    [SugarColumn(Description = "外键显示字段", Length = 64)]
//    [MaxLength(64)]
//    public string? FkDisplayColumns { get; set; }

//    /// <summary>
//    /// 外键链接字段
//    /// </summary>
//    [SugarColumn(Description = "外键链接字段", Length = 64)]
//    [MaxLength(64)]
//    public string? FkLinkColumnName { get; set; }

//    /// <summary>
//    /// 外键显示字段.NET类型
//    /// </summary>
//    [SugarColumn(Description = "外键显示字段.NET类型", Length = 64)]
//    [MaxLength(64)]
//    public string? FkColumnNetType { get; set; }

//    /// <summary>
//    /// 父级字段
//    /// </summary>
//    [SugarColumn(Description = "父级字段", Length = 128)]
//    [MaxLength(128)]
//    public string? PidColumn { get; set; }

//    /// <summary>
//    /// 字典编码
//    /// </summary>
//    [SugarColumn(Description = "字典编码", Length = 64)]
//    [MaxLength(64)]
//    public string? DictTypeCode { get; set; }

//    /// <summary>
//    /// 查询方式
//    /// </summary>
//    [SugarColumn(Description = "查询方式", Length = 16)]
//    [MaxLength(16)]
//    public string? QueryType { get; set; }

//    /// <summary>
//    /// 是否是查询条件
//    /// </summary>
//    [SugarColumn(Description = "是否是查询条件", Length = 8)]
//    [MaxLength(8)]
//    public string? WhetherQuery { get; set; }

//    /// <summary>
//    /// 列表是否缩进（字典）
//    /// </summary>
//    [SugarColumn(Description = "列表是否缩进", Length = 8)]
//    [MaxLength(8)]
//    public string? WhetherRetract { get; set; }

//    /// <summary>
//    /// 是否必填（字典）
//    /// </summary>
//    [SugarColumn(Description = "是否必填", Length = 8)]
//    [MaxLength(8)]
//    public string? WhetherRequired { get; set; }

//    /// <summary>
//    /// 是否可排序（字典）
//    /// </summary>
//    [SugarColumn(Description = "是否可排序", Length = 8)]
//    [MaxLength(8)]
//    public string? WhetherSortable { get; set; }

//    /// <summary>
//    /// 列表显示
//    /// </summary>
//    [SugarColumn(Description = "列表显示", Length = 8)]
//    [MaxLength(8)]
//    public string? WhetherTable { get; set; }

//    /// <summary>
//    /// 增改
//    /// </summary>
//    [SugarColumn(Description = "增改", Length = 8)]
//    [MaxLength(8)]
//    public string? WhetherAddUpdate { get; set; }

//    /// <summary>
//    /// 导入
//    /// </summary>
//    [SugarColumn(Description = "导入", Length = 8)]
//    [MaxLength(8)]
//    public string? WhetherImport { get; set; }

//    /// <summary>
//    /// 是否通用字段
//    /// </summary>
//    [SugarColumn(Description = "是否通用字段", Length = 8)]
//    [MaxLength(8)]
//    public string? WhetherCommon { get; set; }

//    /// <summary>
//    /// 排序
//    /// </summary>
//    [SugarColumn(Description = "排序")]
//    public int OrderNo { get; set; } = 100;
//}
